package ofxdownloader;

/**
 * Container class for account information retrieved from an OFX response
 * @author Alex Spurling
 * @author Chris Thornton
 *
 */
abstract class Account {

	protected String description;
	protected String accountID;
	protected String accountType;

	public String toString() {
		return "Account: " + description + " Type: " + accountType + " ID: " + accountID;
	}

	public String getDescription() {
		return description;
	}

	public String getAccountID() {
		return accountID;
	}

	public String getAccountType() {
		return accountType;
	}

	abstract String getAccountOFXRequest(String ID, String fromDateTag, String toDateTag);

}
